projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43b8f3
)
* src/emacsgtkfixed.c (XSetWMSizeHints): Remove some useless code.
author
Po Lu
<luangruo@yahoo.com>
Sat, 15 Jan 2022 10:11:35 +0000
(18:11 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sat, 15 Jan 2022 10:11:35 +0000
(18:11 +0800)
src/emacsgtkfixed.c
patch
|
blob
|
history
diff --git
a/src/emacsgtkfixed.c
b/src/emacsgtkfixed.c
index da56031e2a43701f7e386364350a1ec641d7b924..a38ba35ad809d3fad6b6e0ef5409d8f7a6c62049 100644
(file)
--- a/
src/emacsgtkfixed.c
+++ b/
src/emacsgtkfixed.c
@@
-164,13
+164,9
@@
XSetWMSizeHints (Display *d,
if ((hints->flags & PMinSize) && f)
{
-#ifdef HAVE_PGTK
- int w = f->output_data.pgtk->size_hints.min_width;
- int h = f->output_data.pgtk->size_hints.min_height;
-#else
int w = f->output_data.x->size_hints.min_width;
int h = f->output_data.x->size_hints.min_height;
-#endif
+
data[5] = w;
data[6] = h;
}